#include<stdio.h>
#include<unistd.h>

int main()
{
    pid_t id = fork();
    if(id == 0)
        printf("child\n");
    else if(id > 0)
        printf("parent: pid : %d ppid: %d \n",getpid(),getppid());
    return 0;
}
